const React = require('react');
const BaseDemo = require('./BaseDemo');
const Transfer = require('Transfer');
const Tile = require("./Tile");
const Button = require("Button");


class ToastPage extends BaseDemo{

    render() {
        const data = [];
        const transfered = '0,1';
        for (let i = 0; i < 15; i++) {
            data.push({
                id: `${i}`,
                text: `item${i}`,
                disabled: Math.random() < 0.3 ? true : false
            });
        }

        return (
            <div className="container">
                <Tile header={"基本使用方式"}>
                    <Transfer data={data} transdered={transfered} filter/>

                </Tile>
            </div>
        )
    }
}

module.exports = ToastPage;